-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update C# langversion to 13 #83
Conversation
FrankvdStam
commented
Jan 15, 2025
•
edited
Loading
edited
- Update projects to C# lang version 13
- Enable nullable
- Remove sonarqube in favour of qodana
- Fix many many qodana inspections
Qodana for .NET166 new problems were found
@@ Code coverage @@
- 21% total lines covered
7601 lines analyzed, 1601 lines covered
# Calculated according to the filters of your coverage tool 💡 Qodana analysis was run in the pull request mode: only the changed files were checked Detected 6 dependenciesThird-party software listThis page lists the third-party software dependencies used in SoulSplitter
Contact Qodana teamContact us at [email protected]
|
…sions and primary constructors (solution wide), couple class specific nullability fixes
Qodana for .NETIt seems all right 👌 No new problems were found according to the checks applied @@ Code coverage @@
+ 21% total lines covered
7702 lines analyzed, 1678 lines covered
! 21% fresh lines covered
6543 lines analyzed, 1385 lines covered
# Calculated according to the filters of your coverage tool 💡 Qodana analysis was run in the pull request mode: only the changed files were checked Detected 6 dependenciesThird-party software listThis page lists the third-party software dependencies used in SoulSplitter
Contact Qodana teamContact us at [email protected]
|
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
|
||
private readonly List<SwitchableDrop> _switchableWeapons = | ||
[ | ||
new SwitchableDrop(ItemType.StoneGreatsword, 23800000, 306000, 1503000), |
Check notice
Code scanning / QDNET
Use preferred style of 'new' expression when created type is evident Note
new SwitchableDrop(ItemType.StoneGreatsword, 23800000, 306000, 1503000), | ||
|
||
//Anor londo | ||
new SwitchableDrop(ItemType.SilverKnightStraightSword, 24100000, 208000, 1473000), |
Check notice
Code scanning / QDNET
Use preferred style of 'new' expression when created type is evident Note
|
||
//Anor londo | ||
new SwitchableDrop(ItemType.SilverKnightStraightSword, 24100000, 208000, 1473000), | ||
new SwitchableDrop(ItemType.SilverKnightSpear, 24100300, 1006000, 1473000), |
Check notice
Code scanning / QDNET
Use preferred style of 'new' expression when created type is evident Note
new SwitchableDrop(ItemType.SilverKnightSpear, 24100300, 1006000, 1473000), | ||
|
||
//kiln | ||
new SwitchableDrop(ItemType.BlackKnightHalberd, 27905300, 1105000, 1474000), |
Check notice
Code scanning / QDNET
Use preferred style of 'new' expression when created type is evident Note
|
||
//kiln | ||
new SwitchableDrop(ItemType.BlackKnightHalberd, 27905300, 1105000, 1474000), | ||
new SwitchableDrop(ItemType.BlackKnightGreataxe, 27905200, 753000, 1474000), |
Check notice
Code scanning / QDNET
Use preferred style of 'new' expression when created type is evident Note
new SwitchableDrop(ItemType.BlackKnightSword, 27907000, 310000, 1474000), | ||
|
||
//Catacombs | ||
new SwitchableDrop(ItemType.BlackKnightGreataxe, 27902000, 753000, 1474000), |
Check notice
Code scanning / QDNET
Use preferred style of 'new' expression when created type is evident Note
|
||
//Catacombs | ||
new SwitchableDrop(ItemType.BlackKnightGreataxe, 27902000, 753000, 1474000), | ||
new SwitchableDrop(ItemType.BlackKnightHalberd, 27903000, 1105000, 1474000) |
Check notice
Code scanning / QDNET
Use preferred style of 'new' expression when created type is evident Note
}; | ||
public static ObservableCollection<EnumFlagViewModel<TimingType>> TimingTypes { get; set; } = | ||
[ | ||
new EnumFlagViewModel<TimingType>(TimingType.Immediate), |
Check notice
Code scanning / QDNET
Use preferred style of 'new' expression when created type is evident Note
public static ObservableCollection<EnumFlagViewModel<TimingType>> TimingTypes { get; set; } = | ||
[ | ||
new EnumFlagViewModel<TimingType>(TimingType.Immediate), | ||
new EnumFlagViewModel<TimingType>(TimingType.OnLoading) |
Check notice
Code scanning / QDNET
Use preferred style of 'new' expression when created type is evident Note
}; | ||
public static ObservableCollection<EnumFlagViewModel<SplitType>> SplitTypes { get; set; } = | ||
[ | ||
new EnumFlagViewModel<SplitType>(SplitType.Flag) |
Check notice
Code scanning / QDNET
Use preferred style of 'new' expression when created type is evident Note